package com.wzf.utils;

import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

public class LoadPropertiesUtil {

    public static Properties loadProperties() throws IOException {
        InputStream resourceAsStream = LoadPropertiesUtil.class.getClassLoader().getResourceAsStream("flink.properties");
        Properties properties = new Properties();
        properties.load(resourceAsStream);
        return  properties;
    }



}
